home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1991 …esperately Seeking Seven / Desperately Seeking Seven.2mg / Dev.CD.8 / Essentials / Interfaces / APW.Interfaces / AInclude / E16.GSOS < prev    next >
Encoding:
Text File  |  1990-06-30  |  5.6 KB  |  132 lines  |  [04] ASCII Text (0x0000)

  1. ; File:  E16.GSOS
  2. ;
  3. ;
  4. ; Copyright Apple Computer, Inc. 1986-90
  5. ; All Rights Reserved
  6. ;
  7. ;
  8. readEnableAllowWrite GEQU $0000 ; 
  9. readEnable GEQU $0001 ; 
  10. writeEnable GEQU $0002
  11. readWriteEnable GEQU $0003
  12. fileInvisible GEQU $0004 ; Invisible bit
  13. backupNeeded GEQU $0020 ; backup needed bit: CreateRec/ OpenRec access  field. (Must be 0 in requestAccess field )
  14. renameEnable GEQU $0040 ; rename enable bit: CreateRec/ OpenRec access and requestAccess fields
  15. destroyEnable GEQU $0080 ; destroy enable  bit: CreateRec/ OpenRec access and requestAccess fields
  16. startPlus GEQU $0000 ; base -> setMark = displacement
  17. eofMinus GEQU $0001 ; base -> setMark = eof - displacement
  18. markPlus GEQU $0002 ; base -> setMark = mark + displacement
  19. markMinus GEQU $0003 ; base -> setMark = mark - displacement
  20. cacheOff GEQU $0000 ; do not cache blocks invloved in this read
  21. cacheOn GEQU $0001 ; cache blocks invloved in this read if possible
  22. badSystemCall GEQU $0001 ; bad system call number
  23. invalidPcount GEQU $0004 ; invalid parameter count
  24. gsosActive GEQU $0007 ; GS/OS already active
  25.   AIF  C:devNotFound,.past ; device not found
  26. devNotFound GEQU $10
  27. .past
  28. invalidDevNum GEQU $11 ; invalid device number
  29. drvrBadReq GEQU $20 ; bad request or command
  30. drvrBadCode GEQU $0021 ; bad control or status code
  31. drvrBadParm GEQU $0022 ; bad call parameter
  32. drvrNotOpen GEQU $0023 ; character device not open
  33. drvrPriorOpen GEQU $0024 ; character device already open
  34. irqTableFull GEQU $0025 ; interrupt table full
  35. drvrNoResrc GEQU $0026 ; resources not available
  36. drvrIOError GEQU $0027 ; I/O error
  37. drvrNoDevice GEQU $0028 ; device not connected
  38. drvrBusy GEQU $0029 ; call aborted; driver is busy
  39. drvrWrtProt GEQU $002B ; device is write protected
  40. drvrBadCount GEQU $002C ; invalid byte count
  41. drvrBadBlock GEQU $002D ; invalid block address
  42. drvrDiskSwitch GEQU $002E ; disk has been switched
  43. drvrOffLine GEQU $002F ; device off line/ no media present
  44. badPathSyntax GEQU $0040 ; invalid pathname syntax
  45. invalidRefNum GEQU $0043 ; invalid reference number
  46.   AIF  C:pathNotFound,.past ; subdirectory does not exist
  47. pathNotFound GEQU $44
  48. .past
  49. volNotFound GEQU $0045 ; volume not found
  50.   AIF  C:fileNotFound,.past ; file not found
  51. fileNotFound GEQU $0046
  52. .past
  53. dupPathname GEQU $0047 ; create or rename with existing name
  54. volumeFull GEQU $0048 ; volume full error
  55. volDirFull GEQU $0049 ; volume directory full
  56. badFileFormat GEQU $004A ; version error (incompatible file format)
  57.   AIF  C:badStoreType,.past ; unsupported (or incorrect) storage type
  58. badStoreType GEQU $004B
  59. .past
  60.   AIF  C:eofEncountered,.past ; end-of-file encountered
  61. eofEncountered GEQU $004C
  62. .past
  63. outOfRange GEQU $004D ; position out of range
  64. invalidAccess GEQU $004E ; access not allowed
  65. buffTooSmall GEQU $004F ; buffer too small
  66. fileBusy GEQU $0050 ; file is already open
  67. dirError GEQU $0051 ; directory error
  68. unknownVol GEQU $0052 ; unknown volume type
  69.   AIF  C:paramRangeErr,.past ; parameter out of range
  70. paramRangeErr GEQU $0053
  71. .past
  72. outOfMem GEQU $0054 ; out of memory
  73. dupVolume GEQU $0057 ; duplicate volume name
  74. notBlockDev GEQU $0058 ; not a block device
  75.   AIF  C:invalidLevel,.past ; specifield level outside legal range
  76. invalidLevel GEQU $0059
  77. .past
  78. damagedBitMap GEQU $005A ; block number too large
  79. badPathNames GEQU $005B ; invalid pathnames for ChangePath
  80. notSystemFile GEQU $005C ; not an executable file
  81. osUnsupported GEQU $005D ; Operating System not supported
  82.   AIF  C:stackOverflow,.past ; too many applications on stack
  83. stackOverflow GEQU $005F
  84. .past
  85. dataUnavail GEQU $0060 ; Data unavailable
  86. endOfDir GEQU $0061 ; end of directory has been reached
  87. invalidClass GEQU $0062 ; invalid FST call class
  88. resForkNotFound GEQU $0063 ; file does not contain required resource
  89. invalidFSTID GEQU $0064 ; error - FST ID is invalid
  90. devNameErr GEQU $0067 ; device exists with same name as replacement name
  91. resExistsErr GEQU $0070 ; cannot expand file, resource already exists
  92. resAddErr GEQU $0071 ; cannot add resource fork to this type file
  93. proDOSFSID GEQU $0001 ; ProDOS/SOS 
  94. dos33FSID GEQU $0002 ; DOS 3.3
  95. dos32FSID GEQU $0003 ; DOS 3.2
  96. dos31FSID GEQU $0003 ; DOS 3.1
  97. appleIIPascalFSID GEQU $0004 ; Apple II Pascal
  98. mfsFSID GEQU $0005 ; Macintosh (flat file system)
  99. hfsFSID GEQU $0006 ; Macintosh (hierarchical file system)
  100. lisaFSID GEQU $0007 ; Lisa file system
  101. appleCPMFSID GEQU $0008 ; Apple CP/M
  102. charFSTFSID GEQU $0009 ; Character FST
  103. msDOSFSID GEQU $000A ; MS/DOS
  104. highSierraFSID GEQU $000B ; High Sierra
  105. iso9660FSID GEQU $000C ; ISO 9660
  106. appleShareFSID GEQU $000D ; ISO 9660
  107. characterFST GEQU $4000 ; character FST
  108. ucFST GEQU $8000 ; SCM should upper case pathnames before passing them to the FST
  109. onStack GEQU $8000 ; place state information about quitting program on the quit return stack
  110. restartable GEQU $4000 ; the quitting program is capable of being restarted from its dormant memory
  111. seedling GEQU $0001 ; standard file with seedling structure
  112. standardFile GEQU $0001 ; standard file type (no resource fork)
  113. sapling GEQU $0002 ; standard file with sapling structure
  114. tree GEQU $0003 ; standard file with tree structure
  115. pascalRegion GEQU $0004 ; UCSD Pascal region on a partitioned disk
  116. extendedFile GEQU $0005 ; extended file type (with resource fork)
  117. directoryFile GEQU $000D ; volume directory or subdirectory file
  118. minorRelNumMask GEQU $00FF ; minor release number
  119. majorRelNumMask GEQU $7F00 ; major release number
  120. finalRelNumMask GEQU $8000 ; final release number
  121. isFileExtended GEQU $8000 ; GetDirEntryGS
  122. resetDevice GEQU $0000
  123. formatDevice GEQU $0001
  124. eject GEQU $0002
  125. setConfigParameters GEQU $0003
  126. setWaitStatus GEQU $0004
  127. setFormatOptions GEQU $0005
  128. assignPartitionOwner GEQU $0006
  129. armSignal GEQU $0007
  130. disarmSignal GEQU $0008
  131. setPartitionMap GEQU $0009
  132.